package com.ruoyi.generator.mapper;

import com.ruoyi.generator.entity.*;

import java.util.List;

/**
 * 业务字段 数据层
 * 
 * @author ruoyi
 */
public interface InvoiceFormMapper
{


    /**
     * 新增业务字段
     *
     * @param invoiceForm
     * @return 结果
     */
    public int insertInvoiceForm(InvoiceForm invoiceForm);

    List<InvoiceForm> selectInvoiceByContractNumber(String contractCode);

    List<InvoiceForm> selectInvoiceList(InvoiceSearchCriteria c);

    List<InvoiceForm> selectInvoiceFormListBycontractNumber(String contractCode);

    void updateInvoiceForm(InvoiceForm invoiceForm);

    InvoiceForm selectInvoiceListById(int id);

    String queryAvailableAmountByInvoiceId(String invoiceId);
}
